package dao;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import pojo.Cart;
import pojo.Orderlist;
import pojo.User;

import java.util.List;

@Repository("userCenterDao")
@Mapper
public interface UserCenterDao {
    public int updateUser(User user);
    public List<Orderlist> selectMyOrderList(Integer uid);
    public List<Cart> selectMyCart(Integer uid);
    public List<User> selectUserByUid(Integer uid);
}
